macos: only flush when not attached
authorChristian Hergert <chergert@redhat.com>
Mon, 8 Feb 2021 17:53:46 +0000 (09:53 -0800)
committerChristian Hergert <chergert@redhat.com>
Mon, 8 Feb 2021 19:30:05 +0000 (11:30 -0800)
commit65296228d7b8de0d1c6c561c4cd19195d36488fd
tree148c0160d0af2b71965b1a54126a81f5018e6607
parent443d19986858fe307b921e7c6c47dbc0dbea272d
macos: only flush when not attached

This makes it so we only flush the context for the NSView, not the context
that is the center of our center of the GL context spokes.
gdk/macos/gdkmacosglcontext.c